<?php
/**
 *	Data Model of Server Project Relations.
 *	@package		mv2.model
 *	@extends		Framework_Krypton_Core_Model
 *	@author			Christian Würker <Christian.Wuerker@CeuS-Media.de>
 *	@since			13.03.2007
 *	@version		0.1
 */
/**
 *	Data Model of Server Project Relations.
 *	@package		mv2.model
 *	@extends		Framework_Krypton_Core_Model
 *	@author			Christian Würker <Christian.Wuerker@CeuS-Media.de>
 *	@since			13.03.2007
 *	@version		0.1
 */
class Model_ServerProject extends Framework_Krypton_Core_Model
{
	/**
	 *	Constructor.
	 *	@access		public
	 *	@param		int		server_project_id		ID of Case
	 *	@return		void
	 */
	function __construct( $server_project_id = false )
	{
		$tablename	= 'server_projects';
		$fields	= array (
			'server_project_id',
			'server_id',
			'project_id',
			'related',
			);
		$primary_key	= 'server_project_id';
		$indices = array(
			'server_id',
			'project_id',
			);
		parent::__construct( $tablename, $fields, $primary_key, $$primary_key );
		$this->setIndices( $indices );
	}
}
?>
